const express = require("express")
const router = express.Router()
const control_common_user = require("../control/CommonUserControl")
router.post('/', control_common_user.add)
router.get('/:id', control_common_user.get_list)
router.put('/', control_common_user.put_user)
router.delete('/', control_common_user.delete_user)
router.post('/login', control_common_user.login_user)
router.post('/avatar', control_common_user.upload_avatar)
module.exports = router